package cc.flyflow.biz.process.mapper;

import cc.flyflow.biz.process.entity.Node;
import com.github.yulichang.base.MPJBaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface NodeMapper extends MPJBaseMapper<Node>
{
    @Select("select NAME_ from ACT_RU_TASK where PROC_INST_ID_=#{procInstId} order by CREATE_TIME_ desc LIMIT 1")
    String findByProcInstId(@Param("procInstId") String procInstId);
}
